package com.zengzhi.mydesignmode.strategymode.designpuzzle;

/**
 * @author xiejiawei
 * @Date 2021-08-14
 * @Time 22:47
 * 角色超级类
 */
public abstract class Character {

    WeaponBehavior  weaponBehavior;

    public void setWeaponBehavior(WeaponBehavior weaponBehavior) {
        this.weaponBehavior = weaponBehavior;
    }

    /**
     * 打架的方法
     */
    abstract void fight();
}
